home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: 26 Feb 1996
- //
- // Description:
- // This procedure creates the status line selection type menu.
- //
- // Input Arguments:
- // The parent control that the status line will be created in.
- //
- // Return Value:
- // The name of the top layout created.
- // Used for embedding the status line within another layout.
- //
-
- global proc buildMaskSettingMenu( string $parent ) {
- //
- // Build the menu that controls the high level mask
- // settings
- //
- setParent -m $parent;
- menu -e -dai $parent;
-
- // menuItem -l "Hierarchy" -c "setSelectMode hierarchy Hierarchy";
- // menuItem -sm true -l "Hierarchy";
- // menuItem -l "Root" -c "setSelectMode root Hierarchy";
- // menuItem -l "Leaf" -c "setSelectMode leaf Hierarchy";
- // menuItem -l "Template" -c "setSelectMode template Hierarchy";
- // setParent -m ..;
- // menuItem -l "Objects" -sm true;
-
- menuItem -l "All Objects"
- -ann "All Object Selection Mode: Select any object"
- -c "setSelectMode allObjects \"All Objects\"";
- menuItem -d true;
- menuItem -l "Animation"
- -ann "Animation Selection: Select Handles and Joints"
- -c "setSelectMode animation Animation";
-
- // setParent -m ..;
- // menuItem -l "Components" -sm true;
- // menuItem -l "All Components" -c "setSelectMode allComponents \"All Components\"";
- // menuItem -d true;
-
- menuItem -l "Polygons"
- -ann "Polygon Selection: Select Poly components"
- -c "setSelectMode polyModeling Polygons";
- // setParent -m ..;
- // menuItem -l "Mixed" -sm true;
-
- menuItem -l "NURBS"
- -ann "NURBS Selection Mode: Marquee to select objects, click to select components"
- -c "setSelectMode nurbsModeling NURBS";
- menuItem -l "Deform"
- -ann "Deformation Selection Mode: Marquee to select objects, click to select components"
- -c "setSelectMode deformations Deform";
- menuItem -l "Dynamics"
- -ann "Dynamics Selection Mode: Marquee to select objects, click to select components"
- -c "setSelectMode dynamics Dynamics";
- menuItem -l "Rendering"
- -ann "Rendering Selection Mode: Marquee to select objects, click to select components"
- -c "setSelectMode rendering Rendering";
-
- setParent -m ..;
-
- menuItem -d true;
-
- menuItem -l "Initial Default"
- -annotation "Initial Default: Set the pick mask bakc to the initial default setting"
- -c "selectionMaskReset";
- }
-